package cn.hk.archives.mapper;

import cn.hk.archives.domain.ArchivesOld;
import cn.hk.archives.domain.ArchivesOldExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ArchivesOldMapper {
    long countByExample(ArchivesOldExample example);

    int deleteByExample(ArchivesOldExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ArchivesOld record);

    int insertSelective(ArchivesOld record);

    List<ArchivesOld> selectByExample(ArchivesOldExample example);

    ArchivesOld selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ArchivesOld record, @Param("example") ArchivesOldExample example);

    int updateByExample(@Param("record") ArchivesOld record, @Param("example") ArchivesOldExample example);

    int updateByPrimaryKeySelective(ArchivesOld record);

    int updateByPrimaryKey(ArchivesOld record);
}